Contents | Index | < Browse | Browse >

LETTERstrpbrkULETTER Searches a string for a character in a different string.

Overview
#include <string.h>

char *strpbrk(const char *s, const char *chars)

char *r;
const char *s;
const char *chars;

Portability
ANSI

Description
Returns a pointer to the first character in "s", which is also contained in "chars".

Returns
A pointer to the first occurance or NULL if none found.